module.exports = {
  __config__: {
    label: 'wps',
    tag: 'wps',
    tagIcon: 'wps',
    defaultValue: { value: null, code: '', type: 'const', prop: '' },
    span: 24,
    showLabel: true,
    labelWidth: null,
    layout: 'colFormItem', // 
    // required: true,
    viewId: null,
    viewCode: 'view',
    eventTypes: [
      {
        text: '添加文件',
        name: 'addFile',
        suffix: '_onAddFile',
        params: 'data'
      }
    ],
  },
  isRenderBySelf: true,
  action: '/api/lowcode/models/attachments/actions/upload',
  style: { width: '100%' },
  tip: '',
  disabled: false,
  extConfig: {
    // 所有扩展属性都写在这里
    fileName:'公文.docx',
    // 添加文件方式 create upload
    uploadMethods: 'create',
    // 转ofd
    isSwitchOfd: false,
    buttonText: ''
  },
  icon:'',
  // datasource: {
  //   type: 'entity',
  //   options: null,
  //   test:'',
  // },
}